package stool.prototype;

/**
 * @Author Felix YF Dong
 * @Date 2021/5/5
 */
public class ConcreteShallowPrototype extends ShallowPrototype {

    public static int classFlag = 1;

    /**
     * 克隆自身方法
     *
     * @return
     * @throws CloneNotSupportedException
     */
    @Override
    public Object clone() throws CloneNotSupportedException {
        return (ConcreteShallowPrototype) super.clone();
    }
}
